﻿using System;
using System.Collections.Generic;
using System.Linq;
using Business.DbConnect;

namespace Business
{
    public class TicketTypeBusiness
    {
        static QLNXeEntities entity = new QLNXeEntities();

        public static List<TicketType> ListTicketTypes()
        {
            try
            {
                return entity.TicketTypes.ToList();
            }
            catch (Exception)
            {
                return new List<TicketType>();
            }
        }
    }
}